package com.java.zhuiyun.api.pictureidiomlevel.service;

import com.java.zhuiyun.api.pictureidiomlevel.entity.PictureIdiomLevel;
import com.java.zhuiyun.common.response.CommonResult;
import com.java.zhuiyun.util.pageUtil.PageRequest;
import com.java.zhuiyun.util.pageUtil.PageResult;

public interface PictureIdiomLevelService {
    /**
    * @Author MJL
    * @Description todo 添加关卡
    * @Date 2023/9/14 9:07
    * @Return  * @param null
    */
    CommonResult addPictureIdiomLevel(PictureIdiomLevel pictureIdiomLevel);
    /**
    * @Author MJL
    * @Description todo 查询全部看图猜成语关卡
    * @Date 2023/9/14 11:41
    * @Return  * @param null
    */
    PageResult queryPictureIdiomLevel(PictureIdiomLevel pictureIdiomLevel, PageRequest pageRequest);
    /**
    * @Author MJL
    * @Description todo 查询出当前关卡的成语
    * @Date 2023/9/20 8:50
    * @Return  * @param null
    */
    PageResult queryLevelIdiom(Integer id, PageRequest pageRequest);
    /**
    * @Author MJL
    * @Description todo 将关卡下架
    * @Date 2023/10/16 20:29
    * @Return  * @param null
    */
    CommonResult bannedLevel(Integer id);
    /**
    * @Author MJL
    * @Description todo 将关卡上架
    * @Date 2023/10/16 20:45
    * @Return  * @param null
    */
    CommonResult enableLevel(Integer id);
}
